home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
JCSM Shareware Collection 1996 September
/
JCSM Shareware Collection (JCS Distribution) (September 1996).ISO
/
prdctvty
/
11420k01.ziv
/
RAMD.EXE
/
INT4.LBM
< prev
next >
Wrap
Text File
|
1990-03-18
|
936b
|
33 lines
{ Macro calculating number of periods to achieve desired balance}
{ FORMULA: n=ln(A/P)/ln(1+i)}
{ where P=principal, A=amount, n=number of periods, i=interest }
c {clears the calculator tape}
c {second "c" clears F4 & F8 memories}
D=9 {switches to 9 decimal places to}
{minimize rounding errors}
"FIND NUMBER OF"
"PERIODS NEEDED"
"TO ACCUMULATE"
"DESIRED AMOUNT"
" "
"BEGINNING PRINCIPAL"=
ALT-F8 {stores result in F8 memory for later use}
"AMOUNT DESIRED AFTER AFTER COMPOUNDING"=
ALT-F3 {stores result in F3 memory for later use}
"PERIODIC INTEREST PERCENTAGE"/
100+
1=
ALT-F4
LF4= {L is LN function, F4 is value stored in F4 memory}
ALT-F4
F3/
F8=
ALT-F8
LF8= {L is LN function, F8 is value stored in F8 memory}
ALT-F8
F8/
F4=
ALT-F7
D=2
F7=
"NUMBER PERIODS"